home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / tobby_ur.swf / scripts / DefineSprite_87 / frame_3 / DoAction.as
Encoding:
Text File  |  2010-11-09  |  395 b   |  24 lines

  1. this.entryCheck();
  2. if(_root.gplayFlg == true && this.entryFlg == true)
  3. {
  4.    this._x = this.px;
  5.    this._y = this.py;
  6.    if(this.algNum == 1)
  7.    {
  8.       this.alg01();
  9.    }
  10.    if(this.algNum == 2)
  11.    {
  12.       this.alg02();
  13.    }
  14.    if(this.algNum == 3)
  15.    {
  16.       this.alg03();
  17.    }
  18.    if(this.algNum == 4)
  19.    {
  20.       this.alg04();
  21.    }
  22. }
  23. this.gotoAndPlay(_currentframe - 1);
  24.